fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

truncate

String.truncate

truncate(max_codepoints i64) => String[src]
this String but limited to max_codepoints

if String is longer than max_codepoints '…' is appended
Precondition
pre
  debug: max_codepoints > 0

Arguments

max_codepoints i64[src]
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23